package cn.cimoc.model.po;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TCart {
  @TableId(type = IdType.AUTO)
  private Long cid;
  private Long uid;
  private Long pid;
  private Long num;
  private Long price;
  private String createdUser;
  @TableField(fill = FieldFill.INSERT)
  private LocalDateTime createdTime;
  private String modifiedUser;
  @TableField(fill = FieldFill.INSERT_UPDATE)
  private LocalDateTime modifiedTime;

}
